const { Controller } = require("egg");

class UserController extends Controller {
    async create() {
        const { ctx } = this;
        const user = await ctx.service.user.create({
            username: "hikaru",
            password: "123456",
        });
        ctx.body = user;
    }
}

module.exports = UserController;
